package com.ktmall.ktmalluijava.service;

import com.ktmall.ktmalluijava.pojo.User;
import org.springframework.stereotype.Service;

@Service
public interface UserService {
    /**
     * 根据用户名和密码查询用户
     * @param userName
     * @param password
     * @return
     */
    User getUserByNameAndPassword(String userName, String password);
}
